﻿using System;
using System.Collections.Generic;
using HYCodeBase.SqlUtility.ORMSuit;

namespace HYRevitCode.SampleAndTest.ROMSuitTest
{
	public class FirstManyToMany : BaseEntity
	{
		public virtual string StrName
		{
			get
			{
				return this.m_strName;
			}
			set
			{
				this.m_strName = value;
			}
		}

		[Property(IfIsManyToMany = true, IfIsManyToManyControl = true)]
		public virtual IEnumerable<SecondManyToMany> LstMany
		{
			get
			{
				return this.lstMany;
			}
			set
			{
				this.lstMany = value;
			}
		}

		public FirstManyToMany()
		{
		}

		public FirstManyToMany(string inputName)
		{
			this.StrName = inputName;
		}

		private string m_strName;

		private IEnumerable<SecondManyToMany> lstMany;
	}
}
